<?php
include("include/config.inc.php");
if(!isset($_SESSION['s_activIdsAdmin']))
{
	header("Location:checkLogin.php");
}
else
{
  $query1 = "DELETE FROM price
	            WHERE priceId = ".$_REQUEST['priceId'];
	$result1= mysql_query($query1);
	if(!$result1)
	{
	  echo "DELETING FAILED";
	}
	else
	{
	  header("Location:priceList.php");
	}
}
?>	 